<div class="add-image">
    <form action="{{url('imagen_upload' )}}" method="POST" enctype="multipart/form-data">
        <input id="file_upload" name="foto" type="file" />
        <div class="actions">
            <input type="submit" value="Subir"/>
        </div>
    </form>
    <script type="text/javascript">
        /*$(document).ready(function() {
          $('#file_upload').uploadify({
            'uploader'  : '{{asset('bundles/amistate/images/uploadify.swf')}}',
            'script'    : '{{url('imagen_upload',{ 'email': email,'clave':clave} )}}',
            'fileDataName' : 'foto',
            'folder'    : '/upload',
            'cancelImg'   : '',
            'fileExt'     : '*.jpg;*.jpeg;*.png',
            'fileDesc'    : 'Imagenes',
            'buttonText'  : 'Seleccionar fotos',
            'multi'       : true,
            'onComplete'  : function(event, ID, fileObj, response, data) {
                if(response=="false"){
                    $('.add-image').hide();
                }else{
                    $('.admin-images-content').append(response);
                    if($('.cuadro-foto').length >= {{max_images}})
                        $('.add-image').hide();
                }
            },
            'auto'      : true
          });
          if($('.cuadro-foto').length >= {{max_images}})
            $('.add-image').hide();
        });*/
    </script>
</div>